//
//  MyGoldBeanTopCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/9.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class MyGoldBeanTopCell: BaseTableViewCell {
    

    @IBOutlet weak var rightLabel: UILabel!
    
    @IBOutlet weak var leftLabel: UILabel!
    
    
    
    var titleStr : String!
    
    
    var rightStr : String?{
        
        didSet{
            
            leftLabel.text = titleStr
            
            if rightStr == nil {
                
                rightLabel.text = "0.0"
 
                return
            }
            
            rightLabel.text = rightStr!
        }
        
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.backgroundColor = UIColor.white

        
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
